<template>
    <div class="ceshi">
        <el-drawer :close-on-click-modal="false" class="hm-drawer" size="70%" direction="rtl" v-model="show"
            :before-close="handleClose">
            <template #header>
                <div class="hm-box-title">审批历史详情</div>
            </template>

            <div class="screen">
                <div :class="screenIndex == index ? 'screen_div_hover' : 'screen_div'"
                    v-for="(item, index) in screenList" :key="index" @click="navClick(item.id, index)">
                    {{ item.name }}
                </div>
            </div>

            <div class="hm-form-item-box1">
                <div class="hm-form-title" id="commodity_information" style=" position: relative; ">基本信息</div>

                <div class="hm-form-mechanism">
                    <div class="mechanism_flex">
                        <div class="mechanism_div">
                            <div class="title">商品名称：</div>{{
                                commoditydetailsData.styleName
                            }}
                        </div>
                        <div class="mechanism_div">
                            <div class="title">商品69码：</div>{{
                                commoditydetailsData.styleCode
                            }}
                        </div>
                        <div class="mechanism_div">
                            <div class="title">商品编码：</div>{{
                                commoditydetailsData.id
                            }}
                        </div>
                        <div class="mechanism_div">
                            <div class="title">品牌：</div>{{
                                commoditydetailsData.brandName
                            }}
                        </div>
                        <div class="mechanism_div">
                            <div class="title">贸易方式：</div>{{
                                commoditydetailsData.tradeMode
                            }}
                        </div>
                        <div class="mechanism_div">
                            <div class="title">类目：</div>
                            <div class="value">{{
                                commoditydetailsData.productCategoryName
                                }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">规格/材质：</div>
                            <div class="value">{{
                                commoditydetailsData.specs
                                }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">对接群名：</div>
                            <div class="value">{{
                                commoditydetailsData.groupName
                                }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">能否破价：</div>
                            <div class="value">{{
                                commoditydetailsData.discountPrice
                                }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">历史最低售价：</div>
                            <div class="value">{{
                                commoditydetailsData.historyPrice
                                }}</div>
                        </div>
                        <div class="mechanism_wrap">
                            <div class="title">合同状态：</div>
                            <div class="value">
                                <div class="examine_item"
                                    :style="{ backgroundColor: commoditydetailsData.supplierVo?.sellStatus == '1' ? '#E7FDEE' : '#FDE7E7', color: commoditydetailsData.supplierVo?.sellStatus == '1' ? '#19D11B' : '#FC2540' }">
                                    供销合同<img
                                        :src="commoditydetailsData.supplierVo?.sellStatus == '1' ? icon_lvseduihao : icon_wenhaohongse" />
                                </div>
                                <div class="examine_item"
                                    :style="{ backgroundColor: commoditydetailsData.supplierVo?.discountStatus == '1' ? '#E7FDEE' : '#FDE7E7', color: commoditydetailsData.supplierVo?.discountStatus == '1' ? '#19D11B' : '#FC2540' }">
                                    破价合同<img
                                        :src="commoditydetailsData.supplierVo?.discountStatus == '1' ? icon_lvseduihao : icon_wenhaohongse" />
                                </div>
                                <div class="examine_item"
                                    :style="{ backgroundColor: commoditydetailsData.supplierVo?.depositStatus == '1' ? '#E7FDEE' : '#FDE7E7', color: commoditydetailsData.supplierVo?.depositStatus == '1' ? '#19D11B' : '#FC2540' }">
                                    保证金协议<img
                                        :src="commoditydetailsData.supplierVo?.depositStatus == '1' ? icon_lvseduihao : icon_wenhaohongse" />
                                </div>
                                <div class="examine_item"
                                    :style="{ backgroundColor: commoditydetailsData.supplierVo?.supplementStatus == '1' ? '#E7FDEE' : '#FDE7E7', color: commoditydetailsData.supplierVo?.supplementStatus == '1' ? '#19D11B' : '#FC2540' }">
                                    补充协议<img
                                        :src="commoditydetailsData.supplierVo?.supplementStatus == '1' ? icon_lvseduihao : icon_wenhaohongse" />
                                </div>
                                <div class="examine_item"
                                    :style="{ backgroundColor: commoditydetailsData.supplierVo?.packageStatus == '1' ? '#E7FDEE' : '#FDE7E7', color: commoditydetailsData.supplierVo?.packageStatus == '1' ? '#19D11B' : '#FC2540' }">
                                    包销合同<img
                                        :src="commoditydetailsData.supplierVo?.packageStatus == '1' ? icon_lvseduihao : icon_wenhaohongse" />
                                </div>
                            </div>
                        </div>
                        <div class="mechanism_wrap">
                            <div class="title">卖点：</div>
                            <div class="value">{{
                                commoditydetailsData.sellingPoints
                                }}</div>
                        </div>
                        <div class="mechanism_img">
                            <div class="title">商品图片：</div>
                            <div class="value">
                                <div class="img_div"
                                    v-for="(item, index) in commoditydetailsData.productImage.split(',')" :key="index">
                                    <image-preview :src="item" :width="190" :height="130" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>


                <div class="hm-form-title" id="collaboration_information">合作信息</div>
                <el-row class="content_div_cooperationMode">
                    <el-col :span="24">
                        <el-descriptions :column="3">
                            <el-descriptions-item label="研发部：">{{ commoditydetailsData.recruiterDept
                                }}</el-descriptions-item>
                            <el-descriptions-item label="研发专员：">{{ commoditydetailsData.recruiter
                                }}</el-descriptions-item>
                            <el-descriptions-item label="是否走仓：">{{ commoditydetailsData.warehouse ? '是' : '否'
                                }}</el-descriptions-item>
                        </el-descriptions>
                        <div class="hm-form-mechanism" v-for="(item, index) in commoditydetailsData.hmMechanismsList"
                            :key="index">
                            <div class="mechanism_title">机制{{ index + 1 }}：</div>
                            <el-descriptions :column="3">
                                <el-descriptions-item label="合作方式：">{{ item.cooperationMode ? item.cooperationMode : '-'
                                    }}</el-descriptions-item>
                                <el-descriptions-item label="售价：">{{ item.price ? item.price : '-'
                                    }}</el-descriptions-item>
                                <el-descriptions-item label="佣金：">{{ item.commission ? item.commission + '%'
                                    :
                                    '-'
                                    }}</el-descriptions-item>
                                <el-descriptions-item label="直播机制：">{{ item.liveStreamingMechanism ?
                                    item.liveStreamingMechanism :
                                    '-'
                                    }}</el-descriptions-item>
                                <el-descriptions-item label="成本价：">{{ item.costPrice ? item.costPrice : '-'
                                    }}</el-descriptions-item>
                                <el-descriptions-item label="补充佣金：">{{ item.brokerage ? item.brokerage + '%' : '-'
                                    }}</el-descriptions-item>
                            </el-descriptions>
                        </div>
                    </el-col>
                </el-row>

                <div class="hm-form-title" id="merchant_information">商家信息</div>
                <div class="hm-form-mechanism">
                    <div class="mechanism_flex">
                        <div class="mechanism_div">
                            <div class="title">供应商名称：</div>
                            <div class="value">{{ commoditydetailsData.supplierVo?.supplierName }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">商家类型：</div>
                            <div class="value">{{ commoditydetailsData.supplierVo?.supplierType }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">厂家地址：</div>
                            <div class="value">{{ commoditydetailsData.supplierVo?.addr }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">供应商联系人：</div>
                            <div class="value">{{ commoditydetailsData.supplierVo?.contactName }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">供应商联系电话：</div>
                            <div class="value">{{ commoditydetailsData.supplierVo?.phone }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">厂家详细地址：</div>
                            <div class="value">{{ commoditydetailsData.supplierVo?.address }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">统一社会信用代码：</div>
                            <div class="value">{{ commoditydetailsData.supplierVo?.companyCode }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">营业执照有限期：</div>
                            <div class="value">{{ commoditydetailsData.supplierVo?.businessDate }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">营业执照所在地：</div>
                            <div class="value">{{ commoditydetailsData.supplierVo?.businessAddr }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">店铺id：</div>
                            <div class="value">{{ commoditydetailsData.supplierVo?.storeId }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">店铺类型：</div>
                            <div class="value">{{ commoditydetailsData.supplierVo?.storeType }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">店铺评分：</div>
                            <div class="value">{{ commoditydetailsData.supplierVo?.storeGrade }}</div>
                        </div>
                        <div class="mechanism_img">
                            <div class="title">营业执照：</div>
                            <div class="value">
                                <div class="img_div"
                                    v-for="(item, index) in commoditydetailsData.supplierVo?.businessImage?.split(',')"
                                    :key="index">
                                    <image-preview :src="item" :width="190" :height="130" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="hm-form-title" id="supplement_message">直播补充信息</div>
                <div class="hm-form-mechanism">
                    <div class="mechanism_flex">
                        <div class="mechanism_div">
                            <div class="title">发货时间：</div>
                            <div class="value">{{ commoditydetailsData.deliveryTime }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">发货地：</div>
                            <div class="value">{{ commoditydetailsData.placeDelivery }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">物流/快递：</div>
                            <div class="value">{{ commoditydetailsData.logistics }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">适用人群：</div>
                            <div class="value">{{ commoditydetailsData.eligibility }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">厂家可用库存：</div>
                            <div class="value">{{ commoditydetailsData.factoryStockNum }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">不发货地区：</div>
                            <div class="value">{{ commoditydetailsData.noSendArea }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">大货时间：</div>
                            <div class="value">{{ commoditydetailsData.bigDate }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">包销时限：</div>
                            <div class="value">{{ commoditydetailsData.packageDeadline }}</div>
                        </div>
                        <div class="mechanism_div">
                            <div class="title">包销提醒：</div>
                            <div class="value">{{ commoditydetailsData.isPackageRemind ? '开' : '关' }}</div>
                        </div>
                        <div class="mechanism_img">
                            <div class="title">无AB货截图：</div>
                            <div class="value" v-if="commoditydetailsData.noAbImage">
                                <div class="img_div" v-for="(item, index) in commoditydetailsData.noAbImage.split(',')"
                                    :key="index">
                                    <image-preview :src="item" :width="190" :height="130" />
                                </div>
                            </div>
                        </div>
                        <div class="mechanism_img">
                            <div class="title">大货视频：</div>
                            <div class="value" v-if="commoditydetailsData.bigVideo">
                                <video controls :src="commoditydetailsData.bigVideos"></video>
                            </div>
                        </div>
                    </div>

                </div>

                <div class="hm-form-title" id="merchant_qualification">商品资质</div>
                <div class="hm-form-mechanism">
                    <div class="mechanism_flex">
                        <div class="mechanism_divs mechanism_div">
                            <div class="titles">备案凭证/行政许可批件：</div>
                            <div class="values">
                                <ImageUploadDrags v-model="commoditydetailsData.voucherImage" :limit="5" :format="true"
                                    :fileType="['png', 'jpg', 'jpeg', 'pdf']" :isType="false" />
                            </div>
                        </div>
                        <div class="mechanism_divs mechanism_div">
                            <div class="titles">其他资质：</div>
                            <div class="values">
                                <ImageUploadDrags v-model="commoditydetailsData.otherImage" :limit="5" :format="true"
                                    :fileType="['png', 'jpg', 'jpeg', 'pdf']" :isType="false" />
                            </div>
                        </div>
                        <div class="mechanism_divs mechanism_div" v-if="commoditydetailsData.tradeMode == '进口'">
                            <div class="titles">进口货物/原材料报关单：</div>
                            <div class="values">
                                <ImageUploadDrags v-model="commoditydetailsData.customsDeclarationImage" :limit="5"
                                    :format="true" :fileType="['png', 'jpg', 'jpeg', 'pdf']" :isType="false" />
                            </div>
                        </div>
                        <div class="mechanism_divs mechanism_div" v-if="commoditydetailsData.tradeMode == '进口'">
                            <div class="titles">进口产品备案材料：</div>
                            <div class="values">
                                <ImageUploadDrags v-model="commoditydetailsData.customsInformationImage" :limit="5"
                                    :format="true" :fileType="['png', 'jpg', 'jpeg', 'pdf']" :isType="false" />
                            </div>
                        </div>
                        <div class="mechanism_divs mechanism_div" v-if="commoditydetailsData.tradeMode == '进口'">
                            <div class="titles">进口产品原材料检验检疫证明：</div>
                            <div class="values">
                                <ImageUploadDrags v-model="commoditydetailsData.customsInspectionImage" :limit="5"
                                    :format="true" :fileType="['png', 'jpg', 'jpeg', 'pdf']" :isType="false" />
                            </div>
                        </div>
                        <div class="mechanism_divs mechanism_div" v-if="commoditydetailsData.tradeMode == '进口'">
                            <div class="titles">检测报告：</div>
                            <div class="values">
                                <ImageUploadDrags v-model="commoditydetailsData.customsTestReportImgae" :limit="5"
                                    :format="true" :fileType="['png', 'jpg', 'jpeg', 'pdf']" :isType="false" />
                            </div>
                        </div>
                    </div>
                </div>

                <div class="hm-form-title" id="review_information">审批信息</div>
                <div class="pricing_information">
                    <div class="findings_audit_content">
                        <div class="column" v-for="(item, index) in logList" :key="index">
                            <div class="circle" :style="computedStyle(index, item)"></div>
                            <div v-if="index !== logList.length - 1" class="line"></div>
                            <div class="column_top">
                                <div class="adopt_proposal">{{
                                    item.name
                                }}
                                </div>
                                <div class="adopt_proposals"
                                    :style="{ 'color': item.des == '审批驳回' ? '#FC2540' : item.des == '审批通过' ? '#19D11B' : '' }">
                                    {{
                                        item.des }}
                                </div>
                                <div class="danger_date">
                                    {{ item.time }}
                                </div>
                            </div>
                            <div class="contents" v-if="item.title">
                                <div class="reject">驳回建议</div>
                                <div class="reject_font">{{ item.title }}</div>
                            </div>
                            <div class="content" v-if="!item.title && item.auditStatus != '-9'">
                                <div class="content_flex" v-for="(ite, ind) in item.mechanismLogList"
                                    :key="ite.mechanismId">
                                    <div v-if="ite.cooperationMode" class="content_flex_is">
                                        <div class="content_div">机制{{ ind + 1 + ':' }}</div>
                                        <div class="content_div">
                                            {{ ite.cooperationMode }}
                                        </div>
                                        <div class="content_div">
                                            {{ ite.cooperationMode == '分佣' ? ite.price : ite.costPrice }}
                                        </div>
                                        <div class="content_div content_divs">
                                            <el-tooltip :content="ite.liveStreamingMechanism" placement="top">
                                                {{ ite.liveStreamingMechanism }}
                                            </el-tooltip>
                                        </div>
                                        <div v-if="ite.commission">
                                            {{ ite.commission + '%' }}
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </el-drawer>
    </div>
</template>
<script setup name="commoditymodify" lang="ts">
const icon_lvseduihao = new URL("@/assets/images/icon_lvseduihao.png", import.meta.url).href;
const icon_wenhaohongse = new URL("@/assets/images/icon_wenhaohongse1.png", import.meta.url).href;

const status = ref(1)
const auditRemark = ref()
const props = defineProps({
    commoditydetailsData: {
        type: Object,
        default: ''
    },
    dialogInfoVisible: {
        type: Boolean,
        default: false
    },
});
const screenList = ref([
    { name: '基本信息', id: '#commodity_information' },
    { name: '合作信息', id: '#collaboration_information' },
    { name: '商家信息', id: '#merchant_information' },
    { name: '直播补充信息', id: '#supplement_message' },
    { name: '商品资质', id: '#merchant_qualification' },
    { name: '审批信息', id: '#review_information' },
])
const screenIndex = ref(0)
const navClick = (id: string, index: number) => {
    const info: any = document.querySelector(id)
    info.scrollIntoView({ behavior: 'smooth' })
    screenIndex.value = index
}
/** 记录 */
const logList: any = computed(() => {
    props.commoditydetailsData?.inventFirstLogList?.forEach((item: any) => {
        item.title = auditStatusNameById(item.auditStatus, item.auditRemark)
        item.name = handleName(item.auditStatus, item.auditNickName, item.requestNickName)
        item.time = handleTime(item.auditStatus, item.requestTime, item.auditTime)
        item.des = handlede(item.auditStatus)
    })
    return props.commoditydetailsData.inventFirstLogList.reverse()
})

/** 时间筛选 */
const handleTime = (auditStatus: string, requestTime: string, auditTime: string) => {
    if (auditStatus == '-9' || auditStatus == '-10') {
        return auditTime
    } else {
        return requestTime
    }
}
/** 处理不同状态回显的文字 */
const handlede = (auditStatus: string) => {
    if (auditStatus == '-9') {
        return '审批通过'
    } else if (auditStatus == '-10') {
        return '审批驳回'
    } else {
        return '发起审批'
    }
}
/** 处理不同状态回显的文字 */
const auditStatusNameById = (auditStatus: string, auditRemark: string) => {
    if (auditStatus == '-10') {
        return auditRemark
    } else {
        return ''
    }
}
/** 处理不同状态回显的名字 */
const handleName = (auditStatus: string, auditor: string, createBy: string) => {
    if (auditStatus == '-9' || auditStatus == '-10') {
        return '审批人：' + auditor
    } else {
        return '研发专员：' + createBy
    }
}
/** 计算球得颜色 */
const computedStyle = (index: number, item: any) => {
    if (logList.value.length == index + 1) {
        return {
            'border': '1px solid #109AFF'
        }
    } else {
        if (item.auditStatus == '-10') { // 驳回
            return {
                'background-color': '#FC2540',
                'border': 'none'
            }
        } else if (item.auditStatus == '-11') { // 重新送审
            return {
                'background-color': '#109AFF',
                'border': 'none'
            }
        } else { // 通过
            return {
                'background-color': '#19D11B',
                'border': 'none'
            }
        }
    }
}
const show = computed(() => props.dialogInfoVisible);
const emits = defineEmits(['doClose'])
const handleClose = () => {
    auditRemark.value = ''
    status.value = 1
    emits('doClose')
}
onMounted(() => { })
</script>
<style lang="scss" scoped>
.hm-form-title {
    font-size: 16px;
    font-weight: bold;
    color: #1a1b1c;
    margin-bottom: 10px;
}

.hm-drawer .el-drawer__header {
    margin-bottom: 0px !important;
}

.mb96 {
    margin-bottom: 10px;
}

:deep(.el-drawer__body) {
    overflow-x: hidden !important;
}

.hm-box-title {
    font-weight: 600;
    font-size: 21px;
    color: #1C1D1E;
    margin-bottom: 44px;
}

:deep(.el-drawer__body) {
    margin-top: 5px;
    padding-top: 0 !important;
}

:deep(.el-descriptions) {
    height: 100%;
}

.screen {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: fixed;
    z-index: 1;
    top: 50px;

    .screen_div {
        width: 106px;
        height: 44px;
        background: #EBF7FF;
        text-align: center;
        line-height: 44px;
        font-weight: 500;
        font-size: 14px;
        color: #0094FF;
    }

    .screen_div_hover {
        width: 106px;
        height: 44px;
        background: #0094FF;
        font-weight: 500;
        font-size: 14px;
        color: #FFFFFF;
        text-align: center;
        line-height: 44px;
    }
}

.mechanism_flex {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;

    .mechanism_divs {
        width: 100% !important;

        .titles {
            font-size: 14px;
            color: #303133;
            width: 200px;
        }

        .values {
            width: calc(100% - 200px);
            word-break: break-all;
        }
    }

    .mechanism_div {
        margin-bottom: 15px;
        width: calc(100% / 3);
        display: flex;
        align-items: center;
        color: var(--bTextColor);
        font-size: 14px;

        .title {
            font-size: 14px;
            color: var(--bTextColor);
            width: 130px;
        }

        .value {
            width: calc(100% - 130px);

        }
    }

    .mechanism_wrap {
        margin-bottom: 15px;
        width: 100%;
        display: flex;
        align-items: center;
        color: var(--bTextColor);
        font-size: 14px;

        .title {
            font-size: 14px;
            color: var(--bTextColor);
            width: 100px;
        }

        .value {
            width: calc(100% - 100px);
            display: flex;
            align-items: center;

            .examine_item {
                width: 85px;
                height: 22px;
                background: #E7FDEE;
                border-radius: 13px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-weight: 500;
                font-size: 12px;
                color: #19D11B;
                line-height: 22px;
                margin-right: 10px;

                img {
                    width: 14px;
                    height: 14px;
                    margin-left: 5px;
                }
            }
        }
    }

    .mechanism_img {
        margin-bottom: 15px;
        width: 100%;
        display: flex;
        align-items: center;
        color: var(--bTextColor);
        font-size: 14px;
        flex-wrap: wrap;

        .title {
            font-size: 14px;
            color: var(--bTextColor);
            width: 100px;
        }

        .value {
            width: 100%;
            display: flex;
            align-items: center;
            margin-top: 10px;

            .img_div {
                margin-right: 10px;
            }
        }

        video {
            width: 230px;
            height: 150px;
        }
    }
}

.flex_div {
    display: flex;
    margin-bottom: 10px;

    .label {
        min-width: 120px;
        font-size: 14px;
        background-color: rgba(240, 246, 255);
        padding: 4px 7px;

        img {
            width: 14px;
            height: 14px;
        }

        margin-right: 10px;
    }

    .value {
        color: #0094FF;
        font-weight: 400;
        font-size: 14px;
        line-height: 27px;
        cursor: pointer;

        span {
            margin-right: 30px;
        }
    }
}

:deep(.el-descriptions__body) {
    height: 100%;
}

:deep(.el-descriptions__table) {
    height: 100%;
}

.content_div_cooperationMode {
    :deep(.el-descriptions) {
        height: auto !important;
    }

    :deep(.el-descriptions__cell) {
        width: 30% !important;
    }

    .hm-form-mechanism {
        position: relative;

        .mechanism_title {
            font-weight: 500;
            font-size: 14px;
            color: #1A1B1C;
            margin-bottom: 15px;
        }

        .delete_mechanism {
            width: 20px;
            height: 20px;
            position: absolute;
            right: 10px;
            top: 50%;
            cursor: pointer;
            z-index: 50;
        }
    }
}

.switch {
    width: 172px;
    height: 30px;
    border-radius: 15px;
    border: 1px solid #0094FF;
    margin: 20px 0;
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 14px;
    color: #0094FF;

    .switch_div {
        width: 86px;
        text-align: center;
        line-height: 30px;
        cursor: pointer;
    }

    .switch_div_avtive {
        width: 86px;
        height: 30px;
        border-radius: 15px;
        background: #0094FF;
        text-align: center;
        line-height: 30px;
        font-weight: 500;
        font-size: 14px;
        color: #FFFFFF;
    }
}

.pricing_information {
    // display: flex;
    // flex-wrap: wrap;

    .findings_audit_content {
        // height: 80px;
        width: 80%;
        display: flex;
        margin-top: 10px;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 50px;

        .column {
            width: 100%;
            // display: flex;
            justify-content: space-between;
            align-items: flex-start;
            position: relative;

            .content {
                font-size: 14px;
                color: #0094FF;
                position: absolute;
                top: -40px;
                left: 430px;
                margin-left: 10px;
                width: 305px;
                height: 92px;
                background: #F6FCFF;
                border-radius: 10px;
                flex-wrap: wrap;
                align-content: space-around;
                display: flex;
                box-sizing: border-box;
                padding-left: 20px;

                .content_flex {
                    .content_flex_is {
                        display: flex;
                        align-items: center;
                    }

                    .content_div {
                        margin-right: 10px;
                        line-height: 1;
                    }

                    .content_divs {
                        width: 50px;

                        :deep(.el-only-child__content) {
                            display: block;
                            width: 100%;
                            text-overflow: ellipsis;
                            overflow: hidden;
                            word-break: break-all;
                            white-space: nowrap;
                        }
                    }
                }
            }

            .contents {
                font-size: 14px;
                position: absolute;
                top: -15px;
                left: 430px;
                margin-left: 10px;
                min-width: 305px;
                border-radius: 10px;
                flex-wrap: wrap;
                align-content: space-around;
                display: flex;
                box-sizing: border-box;
                background: linear-gradient(#FFEFEF 0%, #FEFBFB 100%);
                border-radius: 10px;
                padding: 10px 20px 10px 20px;
                align-items: center;

                .reject {
                    font-weight: 400;
                    font-size: 14px;
                    color: #FFFFFF;
                    background: #FC2540;
                    border-radius: 2px;
                    margin-right: 10px;
                    width: 70px;
                    height: 24px;
                    text-align: center;
                    line-height: 24px;
                }

                .reject_font {
                    font-weight: 400;
                    font-size: 14px;
                    color: #1A1B1C;
                    line-height: 24px;
                    flex: 1;
                }

                .contents_item {
                    display: flex;
                    align-items: center;
                    width: calc(100% - 40px);


                    .consent {
                        font-weight: 400;
                        font-size: 14px;
                        color: #FFFFFF;
                        background: #19D11B;
                        border-radius: 2px;
                        margin-right: 10px;
                        min-width: 70px;
                        height: 24px;
                        text-align: center;
                        line-height: 24px;
                    }



                    .consent_font {
                        font-weight: 400;
                        font-size: 14px;
                        color: #19D11B;
                    }
                }
            }

            .column_top {
                display: flex;
                height: 18px;
                margin-left: 10px;
                position: absolute;
                top: 0;
                left: 10px;
                align-items: center;
            }

            .circle {
                width: 11px;
                height: 11px;
                border-radius: 50%;
                margin-bottom: 100px;
                margin-top: 3px;
                border: 1px solid #109AFF;
            }

            .line {
                height: calc(100% - 11px);
                position: absolute;
                border-left: 1px solid #0094FF;
                top: 13px;
                left: 5px;
            }

            .adopt_proposal {
                font-size: 14px;
                line-height: 1.4;
            }

            .adopt_proposals {
                font-size: 14px;
                line-height: 1.4;
                margin-left: 10px;
            }

            .danger_name {
                font-size: 14px;
                color: #AFB6C3;
                position: absolute;
                top: 20px;
                left: 10px;
                margin-left: 10px;
            }

            .danger_date {
                font-size: 14px;
                color: #B8BECA;
                margin-left: 10px;
            }

        }

    }

    .pricing_proposal {
        .el-textarea {
            display: block;
            width: 1000px;
            margin-top: 10px;
        }

        .label {
            display: flex;
            align-items: center;
            margin: 10px 0;

            .label_left {
                font-weight: 500;
                font-size: 14px;
                color: #1A1B1C;
            }

            .label_right {
                font-weight: 400;
                font-size: 14px;
                color: #AFB6C3;
                margin-left: 20px;
            }
        }

        .value {
            width: 100%;
            display: flex;
            flex-wrap: wrap;

            .img_div {
                margin-right: 10px;
            }

            :deep(.upload-file-uploader) {
                width: 300px;
            }

        }

        .abbreviation {
            width: 525px;
            height: 180px;
            background: #F6FCFF;
            border-radius: 10px;
            box-sizing: border-box;
            padding: 15px;

            .header {
                display: flex;
                align-items: center;
                justify-content: space-between;

                .name {
                    width: 128px;
                    height: 30px;
                    background: #0094FF;
                    border-radius: 15px;
                    font-weight: 500;
                    font-size: 14px;
                    color: #FFFFFF;
                    text-align: center;
                    line-height: 30px;
                }

                .times {
                    font-weight: 400;
                    font-size: 14px;
                    color: #AFB6C3;
                }

            }

            .content {
                font-weight: 400;
                font-size: 14px;
                color: #1A1B1C;
                margin-top: 15px;
            }
        }
    }


}
</style>